package org.xmatch.agenda.presentation;

import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.xmatch.agenda.business.ClienteBO;
import org.xmatch.agenda.entity.Cliente;
import org.xmatch.framework.presentation.GenericEntityListAction;

@Name("clienteListAction")
public class ClienteListAction extends GenericEntityListAction<Cliente> {

	private static final long serialVersionUID = 3384088802197002988L;

	@In(value = "clienteBO", create = true)
	public void setBusinessService(ClienteBO bo) {
		this.businessService = bo;
	}

	public void setCliente(Cliente cliente) {
		setInstance(cliente);
	}

	public Cliente getCliente() {
		return getInstance();
	}
	
	public ClienteListAction() {
		this.setDataTableId("clienteSearch:pagedDataTable");
	}	



}
